-
Notifications
You must be signed in to change notification settings - Fork 684
[Windows] Add CI wheel build jobs for Windows #13837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Finally have green CI. I'm rebasing and re-running CI, but it should be ready for review. |
@@ -0,0 +1,75 @@ | |||
#!/usr/bin/env python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test logic is intentionally different from the Linux/Mac logic. This is due to needing a bunch of additional environment setup in the job for native build. This Windows test logic is actually a bit more comprehensive, as it uses pybindings and verifies model outputs (vs just running the exported model on the native runner and ensuring it doesn't crash). I'd like to come back and update the other logic post-GA.
# Otherwise, flatc will target the project's toolchain (i.e. iOS, or Android). | ||
ExternalProject_Add( | ||
flatbuffers_ep | ||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/flatc_proj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More path length workarounds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a quick comment, don't know much about windows setup here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Btw was a wheel build job triggered to test these changes?
Yeah, thanks. See the Build Windows Wheels jobs. I'll double-check the resultant wheel one more time locally, but it should be good to go. |
Set up wheel build jobs for Windows (x86-64). This is derived from the torchvision build setup (see https://github.com/pytorch/vision/blob/b208f7f4125e8a9a51638549ccf3e9b163f53dda/.github/workflows/build-wheels-windows.yml#L4).
Set up wheel build jobs for Windows (x86-64). This is derived from the torchvision build setup (see https://github.com/pytorch/vision/blob/b208f7f4125e8a9a51638549ccf3e9b163f53dda/.github/workflows/build-wheels-windows.yml#L4).